import React from 'react'
import styles from './OverviewLi.css'
type Props = {
  data: Array
}
class OverviewLi extends React.Component {
  props: Props
  render () {
    return (
      <div className={styles['main']}>
        <ul>
          {
            this.props.data.map((data, i) => {
              return <label key={i}>
                <li className={styles['bg']}>
                  {data[0]}:
                </li>
                <li>
                  {data[1]}
                </li>
              </label>
            })
          }
        </ul>
      </div>
    )
  }
}
export default OverviewLi
